<?php

class myUser extends sfGuardSecurityUser
{
	public function __toString()
	{
		return $this->getGuardUser()->getFirstname().' '.$this->getGuardUser()->getLastname();
	}

	public function getId()
	{
		if($this->isAuthenticated())
		{
			return $this->getGuardUser()->getId();
		}
	}
}
